home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / dev / lang / python_src.lha / amigapython / python / getcompiler.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-26  |  274 b   |  22 lines

  1. #ifdef __GNUC__
  2. #define COMPILER " [GCC " __VERSION__ "]"
  3. #endif
  4.  
  5. #ifdef AMIGA
  6. #define COMPILER " [Amiga SAS/C 6.55]"
  7. #endif
  8.  
  9. #ifndef COMPILER
  10. #ifdef __cplusplus
  11. #define COMPILER "[C++]"
  12. #else
  13. #define COMPILER "[C]"
  14. #endif
  15. #endif
  16.  
  17. char *
  18. getcompiler()
  19. {
  20.     return COMPILER;
  21. }
  22.